export const searchItemList: Array<SuperSearch.SearchItem> = [
  {
    type: "input",
    label: "模版名称",
    keyName: "name"
  },
  {
    type: "dict-select",
    label: "类型",
    keyName: "type",
    lookupCode: "TEMPLATE_TYPE",
    optConfig: {
      label: "name",
      value: "code"
    },
    options: []
  }
];

// 列表
export const tableColumn: Array<SuperTable.TableCoulmnItem | SuperTable.NestTableColumnItem> = [
  {
    field: "typeCode",
    title: "类型",
    minWidth: "140",
    renderSlot: "typeCode"
  },
  {
    field: "name",
    title: "模版名称",
    minWidth: "140"
  },
  {
    field: "status",
    title: "状态",
    minWidth: "90",
    renderSlot: "status"
  },
  {
    field: "createName",
    title: "创建人",
    minWidth: "140"
  },
  {
    field: "createTime",
    title: "创建时间",
    minWidth: "140",
    formatter: "formatDate"
  },
  {
    field: "action",
    title: "操作",
    minWidth: "180",
    renderSlot: "action"
  }
];
